Fix stale metadata for actions/create-github-app-token#652
Fix stale metadata for actions/create-github-app-token#652anthonymonori wants to merge 4 commits intorhysd:mainfrom
actions/create-github-app-token#652Conversation
Update actions/create-github-app-token@v3 so client-id is accepted and app-id is treated as deprecated instead of required. Add a fixture covering the moving v3 tag with client-id.
Add an explicit actions/create-github-app-token@v3.0.0 entry to preserve the old input shape for workflows pinned to that exact version. Add a fixture covering the exact ref with app-id.
Add create-github-app-token@v3.0.0 to the popular actions registry and regenerate popular_actions.go so the v3 entry matches the current upstream metadata while preserving the exact v3.0.0 shape.
I think the latter way is adopted in this repo. BTW, input updates in But recently it failed because new releases of popular actions were detected but they were missing from the https://github.com/rhysd/actionlint/actions/runs/24594466017/job/71921705206#step:4:207 |
Remove the exact v3.0.0 entry and fixture so this stays limited to the current actions/create-github-app-token@v3 metadata fix.
|
Thanks @muzimuzhi for pointing that out. Was looking around how to address that issue as I ran into it locally, but I didn't see that we have a way to auto-update metadata. I guess if that workflow would be fixed, we would get a PR that patches this change for v3 anyway? In that case, I'm happy to close this down and go that route. 🙏 In the meanwhile I also removed the regression case and reduced this PR to the minimal change in 778f197 |
@v3currently reflects the oldv3.0.0input shape, which causes false positives when workflows useclient-idand the current movingv3tag.Example output (before changes in this PR):
actions/create-github-app-token@v3.1.0 release notes
This updates the popular actions registry and regenerates
popular_actions.goso that:actions/create-github-app-token@v3matches the current upstreamv3metadataactions/create-github-app-token@v3.0.0is kept as a separate exact entry for workflows pinned to that versionFixes #648
I've checked the CONTRIBUTIONS doc, ran linting, ran
go generate(there actually was some other unrelated changes foraws-actions/configure-aws-credentials@v6that i reverted since it's unrelated to this PR but just an FYI).Let me know if I missed anything! 🙏 Or if you would prefer if we don't add the 3.0.0 regression case and just change the 1 line that's matters.